reformatting comment DOM structure