var contentElement = document.createElement('span'); contentElement.id = 'mostpopularkeywords'; contentElement.innerHTML = '
Life Sciences, Biocompatible, Devices, Medical Devices, Therapeutics, Chemistry, Medical, Electronics, Healthcare, Engineering & Physical Sciences
'; var scriptElement = document.getElementById('scriptmostpopularkeywords'); scriptElement.parentNode.insertBefore(contentElement, scriptElement);