typo bugfix: method 'text' is undefined
Merge pull request #19 from pglatza/master

typo bugfix: method 'text' is undefined