correction of modernizr implementation