added text.js lib