fixed jshint gotcha