Use respond.js and html5shiv.js instead of modernizr.js.