Remove jquery-ujs
New javascript code to handle form submission