Add linting via jshint

Adds code linting.

Resolves #5