Updates for new version of jQuery