fixed jshint warn