a simple event database based on node.js