Replace self
with globalThis
for use in Worklets
#617
Merged
self
with globalThis
for use in Worklets
#617