updating dom-visualizer example