Chaned all calls of innerText to innerHTML to work in firefox.