Added support for desktop browsers with the help of Modernizr

fixes #1