Refactor truncateTextNode
More comments
Rename  to
Moar comments
Add crappy demo page