Using native javascript when adding HTML in plugin-hook

jQuery.html(data) wasn't working properly with a large string in IE8 and previous versions. Following a [StackOverflow answer](http://stackoverflow.com/a/9823177/403297) I changed it to native javascript.