Workable wrapper implementation and small demo
Optimize in emscripten more thoroughly