Remove code from Router.js
Add some weird looking but functional code..