fixed some jshint things