var contentElement = document.createElement('span'); contentElement.id = 'mostpopularkeywords'; contentElement.innerHTML = '
Stanton, Huber, Prehn, Keely, Adamo, O\'Brien, Ramtoola, Young, Gleeson
'; var scriptElement = document.getElementById('scriptmostpopularkeywords'); scriptElement.parentNode.insertBefore(contentElement, scriptElement);