Persistent event scheduler for node.js using mongo as storage