JS Templating: Transitioning from swig to nunjucks