Used Jinja templating, added Flask Assets to serve batch JS files