var scripts = document.getElementsByTagName('script'); var this_script = scripts[scripts.length-1]; var container = document.createElement('div'); container.innerHTML = '
Stream past KSVR shows on demand
powered by
'; this_script.parentNode.insertBefore(container, this_script);