fix jquery 1.9 issue (#2)