router.js: removed unused vars