fix for modernizr.js