fixed delete link not working by restore js to application.js original