Is there a javascript method to add a button dynamically to the conversation toolbar using the static html module?

I've been looking at the AppendChild() function but am not quite seeing...