Removed window patching from jwcrypto to fix Mocha tests.