Jquery 19 fixes

this fixes #11