Modify getter and setter of 'document.title' according to spec.