change innerText to innerHTML so works in firefox

The example did not work as it did in other browsers due to innerText
not being supported by firefox.