set title in dom