media queries and some java