jshint.
Solved a couple of issues with exports.