Search for .then calls in the JavaScript codebase (use the search link in the issue: https://github.com/copy/v86/search?l=JavaScript&q=.then). For each occurrence, convert to async/await syntax. Check the issue comments for any additional context or discussion. Ensure that the code still works correctly after refactoring. Focus on the load files function and similar patterns.