- Modified `luaCall` and `luaValueToJS` functions to handle promises, allowing asynchronous execution of JavaScript functions from Lua. - Updated the `jsApi` to expose the global `globalThis` object instead of `window`, improving compatibility across different environments.