Fix for jquery 1.9

See commit comment on the non minified file.