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