cleaning up some jshint errors