Image processing-persistence pipeline for node.js