removing browser globals from jshint warnings