An emscripten port of the standalone Rmath library