Html 5 run Javascript

Hello. Im finding it hard to call js functions from html5 build.

Im on 4.23. I know about Unreal.js, but it seems like it cant run on 4.23 and does not support html.

Is there any other js plugins or how to do it properly?

I want to call requestPayment() function with opensocial.