Convert to node.js style