Add text plugin for require.js.