please complete this javascript by filling in what the comments say to do. we have jquery on the page and something called micromodal.css

if (document.querySelector('.rcp-update-billing-details-unsupported'))
{
 th = document.querySelector('[data-th="Actions"]');
 if (th)
 {
 // append a link that says Cancel
 // when clicked, show a modal that Cancel Your Subscription
 // To cancel your subscription go to paypal. 
 // okay
 }
}

micromodal.css

/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\
 Basic Modal Styles
\\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/

.modal {
 font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
 }
 
 .modal\_\_overlay {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: rgba(0,0,0,0.6);
 display: flex;
 justify-content: center;
 align-items: center;
 z-index: 999999;
 }
 
 .modal\_\_container {
 background-color: #fff;
 padding: 30px;
 max-width: 500px;
 max-height: 100vh;
 border-radius: 4px;
 overflow-y: auto;
 box-sizing: border-box;
 }
 
 .modal\_\_header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 }
 
 .modal\_\_title {
 margin-top: 0;
 margin-bottom: 0;
 font-weight: 600;
 font-size: 1.25rem;
 line-height: 1.25;
 color: #00449e;
 box-sizing: border-box;
 }
 
 .modal\_\_close {
 background: transparent;
 border: 0;
 }
 
 .modal\_\_header .modal\_\_close:before { content: "\2715"; }
 
 .modal\_\_content {
 margin-top: 2rem;
 margin-bottom: 2rem;
 line-height: 1.5;
 color: rgba(0,0,0,.8);
 }
 
 .modal\_\_btn {
 font-size: .875rem;
 padding-left: 1rem;
 padding-right: 1rem;
 padding-top: .5rem;
 padding-bottom: .5rem;
 background-color: #e6e6e6;
 color: rgba(0,0,0,.8);
 border-radius: .25rem;
 border-style: none;
 border-width: 0;
 cursor: pointer;
 -webkit-appearance: button;
 text-transform: none;
 overflow: visible;
 line-height: 1.15;
 margin: 0;
 will-change: transform;
 -moz-osx-font-smoothing: grayscale;
 -webkit-backface-visibility: hidden;
 backface-visibility: hidden;
 -webkit-transform: translateZ(0);
 transform: translateZ(0);
 transition: -webkit-transform .25s ease-out;
 transition: transform .25s ease-out;
 transition: transform .25s ease-out,-webkit-transform .25s ease-out;
 }
 .modal\_\_close{
 float: left;
 }
 .modal\_\_btn\_accept{
 float: right;
 }
 
 .modal\_\_btn:focus, .modal\_\_btn:hover {
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
 }
 
 .modal\_\_btn-primary {
 background-color: #00449e;
 color: #fff;
 }
 .modal\_\_terms\_wrapper{
 overflow: auto;
 max-height: 300px;
 font-size: 0.875rem;
 }

 
 .modal\_\_btn.disabled{
 opacity: 0.8;
 background-color: #e6e6e6;
 transition: none;
 transform:none
 }
 
 
 
 /\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\
 Demo Animation Style
 \\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/
 @keyframes mmfadeIn {
 from { opacity: 0; }
 to { opacity: 1; }
 }
 
 @keyframes mmfadeOut {
 from { opacity: 1; }
 to { opacity: 0; }
 }
 
 @keyframes mmslideIn {
 from { transform: translateY(15%); }
 to { transform: translateY(0); }
 }
 
 @keyframes mmslideOut {
 from { transform: translateY(0); }
 to { transform: translateY(-10%); }
 }
 
 .micromodal-slide {
 display: none;
 }
 
 .micromodal-slide.is-open {
 display: block;
 }
 
 .micromodal-slide[aria-hidden="false"] .modal\_\_overlay {
 animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
 }
 
 .micromodal-slide[aria-hidden="false"] .modal\_\_container {
 animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
 }
 
 .micromodal-slide[aria-hidden="true"] .modal\_\_overlay {
 animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
 }
 
 .micromodal-slide[aria-hidden="true"] .modal\_\_container {
 animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
 }
 
 .micromodal-slide .modal\_\_container,
 .micromodal-slide .modal\_\_overlay {
 will-change: transform;
 }
댓글에 있는 내용을 입력하여 이 자바스크립트를 완성해 주세요. 페이지에 jquery와 micromodal.css라는 것이 있습니다.if (document.querySelector('.rcp-update-billing-details-unsupported')){ th = document.querySelector('[data-th="Actions"]')'); if (th) { // 취소라고 표시된 링크 추가 // 클릭하면 구독 취소 모달을 표시합니다. // 구독을 취소하려면 페이팔로 이동하세요.  // okay }}micromodal.css/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\ 기본 모달 스타일\\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/.modal { font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif; }  .modal\_\_overlay { 위치: 고정; top: 0; left: 0; right: 0; bottom: 0; 배경: rgba(0,0,0,0.6); 디스플레이: 플렉스; justify-content: center; 정렬 항목: 가운데; z-index: 999999; }  .modal\_\_container { background-color: #fff; 패딩: 30px; 최대 너비: 500px; 최대 높이: 100vh; 테두리 반경 4px; 오버플로-Y: 자동; 상자 크기: 테두리 상자; }  .modal\_\_header { display: flex; justify-content: space-between; 정렬 항목: 가운데; }  .modal\_\_title { margin-top: 0; margin-bottom: 0; font-weight: 600; font-size: 1.25rem; line-height: 1.25; color: #00449e; 상자 크기: 테두리 상자; }  .modal\_\_close { 배경: 투명 border: 0; }  .modal\_\_header .modal\_\_close:before { content: "\2715"; }  .modal\_\_content { margin-top: 2rem; 여백-하단: 2rem; line-height: 1.5; color: rgba(0,0,0,.8); }  .modal\_\_btn { font-size: .875rem; padding-left: 1rem; padding-right: 1rem; padding-top: .5rem; 패딩-하단: .5rem; background-color: #e6e6e6; color: rgba(0,0,0,.8); 테두리-반경: .25rem; 테두리 스타일: 없음 border-width: 0; 커서: 포인터 -웹킷 모양: 버튼; 텍스트 변형: 없음; 오버플로: 표시됨; line-height: 1.15; 여백: 0; will-change: 변형; -moz-osx-font-smoothing: 회색조; -웹킷 백페이스 가시성: 숨김; 백페이스 가시성: 숨김; -웹킷-변환: translateZ(0); transform: translateZ(0); transition: -webkit-transform .25s ease-out; transition: transform .25s ease-out; transition: transform .25s ease-out,-webkit-transform .25s ease-out; } .modal\_\_close{ float: left; } .modal\_\_btn\_accept{ float: 오른쪽 }  .modal\_\_btn:focus, .modal\_\_btn:hover { -웹킷-변환: 스케일(1.05); transform: scale(1.05); }  .modal\_\_btn-primary { background-color: #00449e; color: #fff; } .modal\_\_terms\_wrapper{ 오버플로: 자동; 최대 높이: 300px; font-size: 0.875rem; }  .modal\_\_btn.disabled{ 불투명도: 0.8; 배경색 #e6e6e6; 전환: 없음 변형:없음 }    /\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\ 데모 애니메이션 스타일 \\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/ 키프레임 mmfadeIn { 부터 { 불투명도: 0; } to { opacity: 1; } }  @keyframes mmfadeOut { 부터 { 불투명도: 1; } 에서 { 불투명도: 0; } }  키프레임 mmslideIn { from { transform: translateY(15%); } to { transform: translateY(0); } }  @keyframes mmslideOut { from { transform: translateY(0); } to { transform: translateY(-10%); } }  .micromodal-slide { display: none; }  .micromodal-slide.is-open { 표시: 블록 }  .micromodal-slide[aria-hidden="false"] .modal\_\_overlay { 애니메이션: mmfadeIn .3s 큐빅-베지어(0.0, 0.0, 0.2, 1); }  .micromodal-slide[aria-hidden="false"] .modal\_\_container { 애니메이션: mmslideIn .3s 큐빅-베지어(0, 0, .2, 1); }  .micromodal-slide[aria-hidden="true"] .modal\_\_overlay { 애니메이션: mmfadeOut .3s 큐빅-베지어(0.0, 0.0, 0.2, 1); }  .micromodal-slide[aria-hidden="true"] .modal\_\_container { 애니메이션: mmslideOut .3s 큐빅-베지어(0, 0, .2, 1); }  .micromodal-slide .modal\_\_container, .micromodal-slide .modal\_\_overlay { will-change: transform; }