Drop support for browsers that matchMedia() isn't implemented
Cleanup hard tabs and unnecessary empty lines