window.matchMedia is not supported in IE9 http://caniuse.com/#feat=matchmedia but it does handle mediaqueries. Maybe a polyfill for IE9? https://github.com/paulirish/matchMedia.js/