This is a source code to understand the use of RequireJS in your appliction.