return Option from GlobalScope::current
433cd90
handles the case where GlobalScope::current calls CurrentGlobalOrNull and the result is null