Updated to work with nunjucks, jinja2 for nodejs