var contentElement = document.createElement('span'); contentElement.id = 'mostpopularkeywords'; contentElement.innerHTML = '
Software, Neurological, Oncology, Research Tool, Antiviral, Ophthalmology, Mouse, Cancer, Diagnostic, Therapy
'; var scriptElement = document.getElementById('scriptmostpopularkeywords'); scriptElement.parentNode.insertBefore(contentElement, scriptElement);