Micro client-side router inspired by the Express router (~1200 bytes)