Ring Buffer for Node.js