bugfix: webview method can't not be called from non-UI thread.