Add jsxhint and fix all lint errors

Lint checks will now run after the tests on Travis. This will be helpful for making sure we `"use strict"` in all our files, etc.

Let me know if any of the changes don't make sense.