componentWillUnmount() {
    removeStyle(this.ratingWrapperStyleId);
    if (canUseDOM) {
      document.removeEventListener('mouseup', this.mouseUpOnDocumentCallback);
    }
  }
Removes pseudo classes from the DOM once component gets removed.