Fixed compatability issues with JQuery 1.10.2 websites.