fixed issue with jquery 1.9.0