config text plugin to use xhr for htmls