Add jshint to `npm test` to keep code clean.

Added two jshint annotations to allow `== null` in the places where we
explicitly want to test against null and undefined; add `jshint` to the
`npm test` command to keep our code clean.

This was suggested by @ljharb in #207.