Delete tasks via AJAX