Addressed older browsers, empty values and invalid values (1a).