Best way to change widget theme after the page is first loaded?

Best way to change widget theme after the page is first loaded?

I have some jquery mobile widgets on my page and I want to change the theme used by a button once some other action occurs.  What is cleanest way to do this?

Thanks,