Custom Event/Messaging system for JavaScript inspired by AS3-Signals