Modify document.title, if title is set