Add the functions nativeWebView.fireExternalEvent and removeView.