Dynamically setting document.title.