Fixing the mocha deprecation warning about what to require