Make Code Climate happy

* Load jshint config from the same place Code Climate does.
* Tidy up objects that need it.