Sample code for my presentations on Design Patterns in Javascript