Insert script at the DOM using document.execCommand, add class marker to script