implemented methods on webview handler