replace custom router with routie.js