add support for browsers that do not support devicePixelRatio but support media queries in javascript
Merge pull request #1 from michelv/media_query

add media queries for browsers that do not support devicePixelRatio