run tests with Mocha + expect.js in both NodeJS and browsers