fix for failed resource warning with Modernizr