remove usage of innerText for FF compatibility