Optimize RequireJS projects using r.js.