Tiny router for the browser