added refresh function for the webview