Taskman worker implement in node.js