Adapt to new RequireJS configuration