Hi,
you have to useg_scratchpad.
Calling business rule from the client script is not possible but you can getonly the scratchpad values from BR (display) into the client script. But the server-side script can be achievable from the Script Include using Glide Ajax.
Hope this helps!
If I have answered your question, please mark my response as correct and/or helpful.
Thanks,
Sriram