Make it work with node.js