add license, run jshint on npm test