Code notes and exercises from Learning JavaScript Design Patterns book