Same in line 6:

      if sessionStorage?['closedAnnouncement'] == ($ '.alert-announcement').html()