fixed bug in Modernizr test