bug fixes
whitespace
remove copypasta
missing paren
switched unsupported innerText for innerHTML with escaping

It turns out innerText is actually IE only (which Chrome adopted).
Technically the textContent method should be used. However, I
implemented innerHTML as this is definitively cross browser.

Text Content Shiv:
http://stackoverflow.com/questions/18063402/how-to-get-textcontent-to-wo
rk-in-internet-explorer-8-javascript
Merge pull request #4 from sendgrid/ff_fix

firefox fix