fixing jshint offenses