Bugfix: replaced innerText with textContent for firefox support