requirejs: correct loading of the controller