Move document.title setting to router. Always set title on home page.