change document.title on various content changes