Note on JavaScript example, plus inclusion of .language-javascript for syntax highlighting