Capture current version of jQuery

Do not assume $ will be available in the global scope.  This polyfill currently breaks in FF 31.0.