add a sample test, a Gruntfile.js, and integration with travis-ci (all for the js version)