Semaphore.co library in node.js