fix broken dom
text and labels
Merge pull request #80 from swampie/master

broken dom and literals