Make sure all the webview methods run on UI thread.