fix to jquery 1.9