Change the way html is added to node in js
Merge pull request #1705 from designermonkey/2.3.3bugfix

Change the way html is added to node in js. Fixes #1704