if (this.script) {
    this.script.parentNode.removeChild(this.script);
    this.script = null;
  }