Added export for node.js