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