Presentation JavaScript Patterns