Add block about using JSHint, fix example

Signed-off-by: Byron Ruth <b@devel.io>