code: function (guid) {
          var headChildren = document.getElementsByTagName('head')[0].children;
          var childrenToRemove = [];
  
          for (var i = 0; i < headChildren.length; i++) {
              if (headChildren[i].attributes != null && headChildren[i].attributes['ortcScriptId'] && headChildren[i].attributes['ortcScriptId'].value == guid) {
                  childrenToRemove.push(i);
              }
          }
  
          for (var child in childrenToRemove) {
              document.getElementsByTagName('head')[0].removeChild(headChildren[childrenToRemove[child]]);
          }
      }
docs: /*
  Clears the javascript scripts previously loaded into the page.