converted remove button from js to button_to