Added functionality to webview