Made the webview more resiliant in the SDK