Configurated media queries in js