innerText doesnt work on firefox, use innerHTML instead