hopefully fixed some jshint codeclimate stuff.