Upgraded to jQuery 1.10.2, and various other small fixes