flask: move scripts to the bottom of the page
flask: remove page title
flask: remove unused CSS classes
flask: use jQuery.post() to simplify AJAX calls