fixing jshint stuff