Update router.js

Once more, with feeling...