Misc cleanups.
Replaced js-lint with js-hint.