Use `insertText` instead of `insertHTML`

Fixes #234.
Merge pull request #235 from mathiasbynens/patch-2

Use `insertText` instead of `insertHTML`