The only way to run JavaScript offline from a web archive.
Get info on the archived resources. Showing original response data.
Open your saved web archives from Safari. Import from macOS & iPadOS.
Decode and export. QuickLook and share any individual resource.