added jshint validation