Update text.class.js

Fixes exporting of text simple group.
Thanks to Chris Buergi to make me notice
Merge pull request #1628 from asturur/text-export-fpr-groups

Update text.class.js