resolved issue for Modernizr global object check and mq detection