Updated to work with Newest Version of JQuery 1.10.2