fix error if modernizr not selectd