`innerText` is non-standard and doesn't work in Firefox -- use `innerHTML` instead (though this won't be relevant as we start using jQuery anyway).