base: requirejs improvements

Ups, this one still need to be fixed:

Optimizes -> Optimize