setup mocha to run on browser