js updated
delete function
debugging delete event