make mocha work with Node.js as well