add requirejs text plugin as the layout engine.