modify document.title while recording