Updated support for JQuery 1.10