HTML examples used the following technique with ice.microphone to allow changing the style on a standard anchor and a jquery mobile "enhanced" anchor (the enhancement process mangles the DOM structure). Since the new microphone integration is no longer a toggle, this will revert to a simple onclick.
<a data-role="button" id="mic" onclick="var subtext = this.firstChild; if(1===subtext.nodeType)
{subtext=subtext.firstChild.firstChild}
;if(subtext.data=='Stop')
{subtext.data='Record';this.classList.remove('recordstyle')}
else
{subtext.data='Stop';this.classList.add('recordstyle')}
ice.microphone('mic');">Record</a>
A wide variety of JSP tags are now supported by ICEmobile. I'm guilty of this as well, but this one JIRA was abused as a placeholder for too many JSP-related checkins.