I'm maybe dumb here, but why can't you use loadBodyHTML, and then call MessageManager.init ?