jshint fix for Travis ci fail on global js variable