added window.app object with window.app.router on it