set html document title by using $document