While this is not a problem now, I can see this being an issue if we ever have a media type that contains characters that are not valid in CSS, such as a space or period ( e.g. Archive.org ). Also, if you are automating this conversion, is there any advantage to storing it? Why not just run `type.toLowerCase()` whenever you need it?