Changes to templates, as well as some experimental ones for testing Flask AJAX example