Common API, JS callback, get WebView tab index byself