Move media queries definition to javascript

I was doing something clever with putting the media queries in CSS and
reading them in script. Problem is, if the CSS loads after the script,
the strings won't be there.

Too clever by half. Removing.