fix: add check for globalThis object
fix: add check for globalThis object

protocolbuffers/protobuf-javascript,protocolbuffers/protobuf-javascript,protocolbuffers/protobuf-javascript,protocolbuffers/protobuf-javascript