Remove static allocations that make Emscripten blow up.