fixing up some jshint issues