Fix difference in Firefox rendering

Firefox doesn't have .innerText, so use jQuery's cross-browser equivalent