modded matchMedia.js