cleaned up some basic jshint #22