do not use setInnerHTML since it isn't faster on new browsers
Merge pull request #2022 from ajaxorg/performance

do not use setInnerHTML since it isn't faster on new browsers