Simplifying for node.js