node.js implementation of a universal real time event dispatcher