update jQuery version checking to work with jQuery ~> 1.10