PJAX-based tempting decisions in Flask