An utility method that configures a given WebView.
Used to have an uniformly configured WebViews across the codebase.