Update router.js. Fixes #2897.
Merge pull request #2898 from machty/borf-snorlax

Update router.js. Fixes #2897.