Added Browserify support and Mocha tests.