add text.js and require.js