add title to DOM