Implement Document.title