Change hash and tab events to WebView methods