Cross-browser fixes to form elements