Some utility functionalities for the Tuesch.
The event handler class generalizes a common design principle in javascript. When an event occurs, that is of relevance for other objects, then this event should be sent out to all objects, that are interested in that event. Objects interested in that event, subscribe the event handler and get notified via a callback function.