Stop propagation on form submit to play nicely

A small change that allows BootBox to play nicely with it (and other similar JS routing libraries).