modif admin js to prepare the delete