Include Mocha in Package.json. Use it instead of global mocha.
Support running  in a modern browser.