Added AJAX to delete cards