Raft implementation in Node.js