enhanced js media query