Update router.js

commented unwanted function