jQuery support for 1.10 and 2.0