Cleanup: jshint everywhere, clean up linter warnings

TODO: middleware/model-loader.js needs a jshint option to enable 'use strict'