added modernizr support