JavaScript Application Design: A Build First Approach. Code Samples and Snippets