Only run jQuery test in browser
Check for jQuery existence before require()ing over it