Parallel functional programming in node.js