Try to reduce size of WASM NPM package
Requires a #23
Rough ideas:
- there are some emscripten options which allow to reduce standard library size linked to the final WASM target
- we can try change regular compiler options to reduce it
- protobuf ts-gen offers some options to eliminate some generated code we probably don't need like binary serialization etc.