Reference async usage, move ejs ref to template demo