RaySecur interview question

How to connect Javascript and C++ services.