Design Patterns applied to Javascript code.