add javascript to confirm deletion