Browser validation for email input