Javacript to execute on each page with navigation

We are running javascript code on each page. However, when we navigate from and page and back to it the page does not execute the javascript again (caching). We have added the following to the top of the page but we still do not see it calling the js on each navigation.

You should put all JavaScript code in the jQuery ready function, or better still, Webflow ready function:

var Webflow = Webflow || [];
Webflow.push(function() {
  // your code here
});

Thank, Iw as able to execute JS on the initial load but not subsequent navigation to that page after. I added no-cache to to the main site page which seemed to resolve it.

Thanks for the info on the code!
indent preformatted text by 4 spaces
var Webflow = Webflow || ;
Webflow.push(function() {
// your code here
});