use local readyCallback instead of window.jsCallbackReady