Mini Javascript Library for listening and dispatching events