var contentElement = document.createElement('span'); contentElement.id = 'mostpopularkeywords'; contentElement.innerHTML = '
Construction, Engineering, Communication, Innovative Technologies, Software, Chemistry, Design Management, Technology, Biotechnology, Healthcare
'; var scriptElement = document.getElementById('scriptmostpopularkeywords'); scriptElement.parentNode.insertBefore(contentElement, scriptElement);