fix for #3688, setting type attribute on button causes IE to throw error