remove __proto__ uses as in upstream emscripten