Add formula for emscripten