Fix jshint globals problem using undocumented magic