Use textContent instead. innerText does not work in Firefox (innerText getter also causes reflows... stay away from it at all cost).