Fix for firefox, changing order of innerHTML and innerText