cleaned up a few jshint errors