Media query problems with test framework

The changes to the media queries resulted in problems with the test framework receiving incorrect media queries for PhantomJS.  I was able to get PhantomJS to be happy about the queries by switching to enclosing the media queries with a forward slash and then stripping it during the read.