innerText isn't available in ff/chrome/etc so use innerHTML
Merge pull request #1795 from dhaber/browsertest

Fix for running test cases in a regular browser like Firefox or Chrome