Now we are using AJAX to delete the tasks