A simple javascript event manager with support for one-shot and late listeners.