ejs is preloaded from elastic search