Add jshint and unit test