var contentElement = document.createElement('span'); contentElement.id = 'mostpopularkeywords'; contentElement.innerHTML = '
Health, Antimicrobial, Evaluation, Engagement, Nanolitography, OLED, Online Survey, Public Perception, Deliberation, Carbon Nanotubes
'; var scriptElement = document.getElementById('scriptmostpopularkeywords'); scriptElement.parentNode.insertBefore(contentElement, scriptElement);