jquery 1.x works but 2.x doesn't?