Make it more node.js like