Message parsing from DOM changes