Call JAVA function from JAVASCRIPT?

I made game in cocos creator and builded it for Android Studio,
I want to call Java functions from in game javascript like If I installed Admob and want to trigger ads from in game events then how I can call Admob Java functions from in game javascript code?

Easier is to use SDKBOX.
It has many plugins and Admob also.

There are lot’s of SDK’s that are not included in SDKBOX like Apps Flyer SDK.Only solution is that I integrate it with pure JAVA and then call it’s API from in game which is written in JavaScript

I just want to know a way to call call JAVA functions from JavaScript, rest of things I can manage…

Here I posted