Update main.js

Although the script provided for dividing the string at newlines, it scrubbed those newlines with "textContent". Using "innerText" instead leaves those in place while removing unwanted html.