added ajax and save_task.php