var contentElement = document.createElement('span'); contentElement.id = 'mostpopularkeywords'; contentElement.innerHTML = '
Software, Sensors, Physics, Therapeutics, Electrical & Computer Engineering, Nanotechnology, Diagnostics, Chemistry, Education, Drug Screening
'; var scriptElement = document.getElementById('scriptmostpopularkeywords'); scriptElement.parentNode.insertBefore(contentElement, scriptElement);