changed router.js