This `evt.preventDefault();` and the ones below could be avoided by adding `type="button"` to the buttons instead of leaving it set to the default. A button without type attribute in a form will default to submit (except in IE where it will be button) and a button outside of a form will default to type button.