prefixed window to console.warn call
Documented activityRoutes -> routes