webapp add jinja2 support