I ended up heavy-handedly solving this by destroying the DOM objects and reloading the converse.js javascript itself from scratch.