Normalize form submission event handler

Let's use standard jQuery event handling instead of the `onsubmit` html attribute