Accessing Managed Bean Method From Javascript

In my portlet application in Designer 8.2.2 I added a method to the managed bean that returns a string.
How do I access the method I added to the bean from javascript so the java script can use the string returned by that method?

Thanks.

Easiest way should be to Bind that variable to any hidden value on the screen and then use CAF.activePageBeanClientID.getValue() of that hidden value