Fixes routing for routes missing tailing /
Replaces setInterval with requestAnimationFrame