fixed minor jshint violations