JavaScript Design Patterns: Observer

JavaScript Design Patterns: Observer