bug fix in modernizr page script load