Implement synchronization between DOM Tree and WebBrowser.