Updated router.js
Ported route listing to transitional method