added code snippets to JS Makers post