Making jquery 1.9.1 compat