We should be able to use Hyperlight's wit bindings system (see https://github.com/hyperlight-dev/hyperlight/blob/main/src/hyperlight_host/tests/wit_test.rs) to provide a host and guest side implementations. This would allow Javascript and Wasm to share the same host side bindings and similar guest apis.