Casablanca variant for Emscripten