Is it a must for you to use the ejs? The handlebars is the primary engine in jsreport. All other engines are getting more and more limited. The new office recipes implementation for example supports just handlebars.