Capture current version of jQuery

Do not assume $ will be available in the global scope.  This polyfill breaks in FF when $ is not in the global scope.
Merge pull request #5995 from dubbs/patch-1

Details/Summary: Capture current version of jQuery
Move the travis variables to the Travis UI
Merge pull request #5997 from LaurentGoderre/move-travis-variables

Move the travis variables to the Travis UI