corrected loading configuration in router.js