You can actually see the JS code the Workflow gene...
# general
m
You can actually see the JS code the Workflow generates for client side stuff by viewing the page source