add firefox fallback for innerText

Firefox doesn't support `innerText` (http://www.quirksmode.org/dom/html/#t01) and this causes a js error.  Adding a fallback to `textContent` seems to make everything work as expected.