Port of zinnia to javascript library with emscripten.