Added compatibility for node.js and removed support for web (minification)