updated jQuery version check
Merge branch 'master' into gh-pages