Access css media queries from javascript