var contentElement = document.createElement('span'); contentElement.id = 'mostpopularkeywords'; contentElement.innerHTML = '
Computers or Electronics, fungal infection, Software, Technologies, Cathode, Electrode, chemically cross-linking, TAF, Device, battery
'; var scriptElement = document.getElementById('scriptmostpopularkeywords'); scriptElement.parentNode.insertBefore(contentElement, scriptElement);