Add AJAX functionality to project destroy method