Used textContent after innerText to work with Firefox