Are you able to make emscripten samples work with SAFE_HEAD=1 ?