Schemas should be registered early
Fix js errors in webview