Jquery 1-9 temporary fix

@radar New clean  pull request for jquery 1.9 fix