fixed jshint error