jshint function added