[BUGFIX beta] sync router.js; closes #4535