support async load xtemplate on nodejs.