Maybe use cosmo like quickjs did, and publish to https://github.com/GoogleChromeLabs/jsvu like v8 did