SWIG is capable of targeting three Javascript runtimes when generating code:
JSC, V8, and NodeJS. One of these needs to be selected at generation time; there
is no default. In future it may be desirable to target the more popular of
these, NodeJS, but for now we leave it with the traditional JSC.
There are still multiple blockers to enabling this fully in the build system:
1. The configuration setup checks for a `js` binary. I do not know what this
is. Maybe it is intending to check for `jsc`, the JSC compiler?
2. Even if that were true, this is the wrong thing to check for. Generation of
bindings and their compilation requires not a Javascript compiler but the
runtime’s C/C++ headers. For JSC, JavaScriptCore/JavaScript.h.