use window.document.title instead of setDocumentTitle()
check the page title is updated when a dataset is renamed