Add JSHint support

Fixes #280.

/CC @connor @connors @cvrebert @mdo