Added polyfill for matchMedia
Added polyfill for matchMedia