Adding jshint and unit tests