What shines through here is that the AI writing / reasoning this is about as lazy as always, declaring a hard limitation where some engineering might solve or work around the limitations. In modern JavaScript a surprising amount of tasks can be handled, e.g. with Workers and in a streaming way.