you did the best , It seems to me unreasonable to use phoenix_html.js just for sending delete request