set up for ajax deletion