Use .textContent over .innerText for Firefox compatibility.
Add charset to index.html.