fixing an unnecessary jQuery script when is not BuddyPress/Multisite