Fixing the issues with modernizr on production