There seems to be a bug with $.ajax, when you put a "plug-in"
function inside the function() where the plugin only gets called once.
I'm not sure if it's with all the functions, or just some of
them. I know it's with the accordion for sure, but not sure if
anything else behaves that way, or not.
There should be a built in ajax listener for the function().
I'm assuming that no one else has ever encountered this issue,
but it wasn't solved by a discussion, so now it is a bug in the
core. the temporary work around for the problem is to press f5 on the
page, but the long term fix would be to patch the core.