diff --git a/myuw-profile.html b/myuw-profile.html
index 2cc79babcc45d915b6233e47e06645025f31bb7c..f3c4a27f3b1e0c2e1a7463b85eaf946eb8888b81 100644
--- a/myuw-profile.html
+++ b/myuw-profile.html
@@ -144,7 +144,7 @@
 <script>
 
 // Get the script document
-const thisDoc = (document._currentScript || document.currentScript).ownerDocument;
+const myuwProfileDoc = (document._currentScript || document.currentScript).ownerDocument;
 
 class MyUWProfile extends HTMLElement {
     constructor() {
@@ -156,7 +156,7 @@ class MyUWProfile extends HTMLElement {
         this.attachShadow({mode: 'open'});
 
         // Get the template and extract the HTML content
-        const template = thisDoc.getElementById('myuw-profile-template');
+        const template = myuwProfileDoc.getElementById('myuw-profile-template');
 
         // Append the custom HTML to the shadowroot
         this.shadowRoot.appendChild(template.content.cloneNode(true));