resolution of jquery 1.9.1 bug