How to get rid of data-wf-page and data-wf-site?

Greetings,

I have built my front-end (html, CSS, and JS) all in webflow and am trying to host the backend on my own server running Django. While trying to create base templates that contains the menu and footer so I don’t have to write that for every new page I create, I ran into the issue of each page having a unique data-wf-page value. Even worse, it seems like the data-w-id for the elements with animations are different across different pages. Hence I am wondering if there is a solution to make the JS independent from the data-wf-page value.

Any help would be appreciated, and please let me know if any clarification or further detail is needed.

Cheers,
Ethan