Append content to DOM instead of setting innerHTML

Ensure that all bound events and data will remain attached to the
element instead of "flattening" it to just HTML string.