PythonSite: Adding tasks using AJAX