matchMedia polyfill with IE8 support

This text should turn red when media query "screen and (min-width: 768px)" is matched and blue when not matched.