Ensure that window.matchMedia supports addListener to avoid errors in older IE installations