require(['config'], function() { require(['router'], function(router) { router.init(); // Entry point of application }); });