example of requirejs to load the module and optimization in a single file