modernizr compatiblity fix