Update text.class.js

Ok i broke normal text, now is ok.