respond min JavaScript

test a CSS media type/query in JavaScript