Fix version number detection to work with jQuery's 1.10.x scheme