Fixed jshint Global problem