What happens here if `selectedOption.value` is an empty string? Does `selectedOption.text` return a string on all browsers? If not, this could end up setting `newVal` to `undefined`, which wouldn't be good.