changed innerText to innerHTML to support firefox