Snippets of js code do not format correctly in the electron window after the first snippet, however it works in the browser.  --The first javascript snippet  --The second js snippet