Replace region innerHTML with jquery html.

Fixes #2027