Merge pull request #2 from mjhasbach/master

Add CommonJS and AMD Compatibility + addChar() + removeChar() + text() + Bugfixes