merged from Modernizr repo