Fix Mocha to run in browser and node tests.  This is most likely a bug with karma-mocha.