node.js working process