js/forms: treat buttons like input-buttons

This fixes a few autosubmission-detection woes.