jquery fix for global installs