auto-routes, encoding with base64 (needs polyfill)