EventStore Implementation in node.js