Added code to retrieve html content from webview.