Removed (hopefully) all references to $ within the jQuery code itself