removed jshint warning