add AJAX delete for terms