Use max-width in the matchMedia in the JS