[UPD] modified router.js