autoform-events.js looks for button[type="submit"], so we cater for that