fixed and completed polyfill for innerHTML for NodeRendering