fixed non-functional node.js example