a nano-size client-side router