added AJAX for deleting site on index page