Do you use Javascript with Keycloak (Quarkus edition) for authorization?

If yes, please give some usage tricks. The official documentation is written for advanced users only.
https://www.keycloak.org/docs/latest/authorization_services/index.html#_policy_js

Does every change to JS need a redeploy of the .jar file?
Is there a template online?