add jshintrc and lint file

Fixes #28