Inline C++ functions in Javascript (async)

Inline C++ functions in Javascript (async)

The following calculations are done on the server side, and the result is retrieved via an asynchronous callback.