Integrated requirejs and lazy loading controller.