fixes remaining problems with sinon integration into mocha-web