I\'m using barba.js with GSAP for page animations and have 4 custom jS files which need to be reinitialised when changing pages. I have this working with the following code,