JQuery fix for when $ isn't defined.