Add prediction library for emscripten.