Text.js: Remove DOM, more chaining

This removes all the DOM references and, when possible, has functions return "this" for more chaining.
Merge pull request #104 from videlais/patch-6

Text.js: Remove DOM, more chaining