using Unreal.js to control application from web page

Hello, I am trying to use Unreal.js for my task in application. I want to control my application from web page. Application compiled and running on android. For example there is a web page with some button this button runs a javascript this javascript send some commands to my running application (for example change level or something else) how to do it?

I need same problem. If anyone solve it can explaint please