fixed jshint warning