adding mocha tests to run in browser