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