deleting tasks via ajax