Update text.js

So tests don't fail.