Building Semaphore and Mutex in Node.js