JS - edit button now changes back ...

to add following delete command