DOM manipulation for waterfall messages