Adding jshint and mocha tests