jshint quality improvement