move RequireJS call inside of Modernizr callback