Resolved issues with new versions of jQuery.