Please post your script using the Forum Code Block, and also try running the script directly in Script Debugger and/or Script Editor.
I am running Keyboard Maestro 9.0 on macOS 10.14.5 (Mojave), and have not noticed any changes in, or issues with, AppleScripts, JXA scripts, JavaScripts, or Shell Scripts.