Fix js redirect after delete; use hyphen instead of underscore

to mach changes with haml 4