refactor destroy.js.erb