IE specific & node.js support

added support for window.msCrypto and support for node.js