jshint warning fixed