Combining media queries and JavaScript

Combining media queries and JavaScript