queue jni call untill webview is ready