Upgrades the jQuery script.