fixed some jshint stuff