Create texttype.js