Node.js module for synchronization