Call init() in Applet "store", __java_js_wrapper.
Connect using C++ API when running in QWebKit.