This version moves all the heavy-lifting into the Python Script - when you load your page in the browser, it will already be responsive. If you prefer to run the script without installing additional Python packages, it will still work - it will just fall back to the old JavaScript method, which does not complete until page content has loaded.