Remove custom webview event handling and legacy code