some Example of JavaScript Design Patterns