Perhaps you deleted Chrome before installing the newest one, and therefore maybe you deleted the permissions, or its Javascript settings, prior to installing the new version.
So, first, you should check that your new version of Chrome has the correct permissions in macOS, and that KM has the correct permissions to access Chrome. This is one of the authoritative pages on permissions:
https://wiki.keyboardmaestro.com/assistance/Accessibility_Permission_Problem
Also, try reading the following post, which deals with configuring Chrome to support Javascript:
Be aware that Chrome has a long history of "incomplete and unreliable support for AppleScript." Perhaps you should test new versions of Chrome with your scripts on a different Mac before upgrading Chrome, or you will have more problems like this in the future.
And perhaps kevin's thread above is the most likely issue.