pipeline on node.js