Changes the array of onSubmit callbacks in favor of a single callback. Changes the call to jquery's on() to handle future elements that are not yet added to the DOM.