Fixing jquery version detection to handle 1.10.2