Compiles Jinja2 templates to JavaScript