Fixed error with router.js.