Advice for Javascript policy authorization rule

I’m on latest keycloak quarkus. How can I test javascript before creating a .jar file?

I assume there’s no way to edit javascript once it’s uploaded.