title: JS not working on Squarespace website
body: <p>I've got an interesting one here..</p>
  
  <p><strong>The scenario</strong></p>
  
  <p>I have a Squarespace website that doesn't load the pages, it just swaps out the content (think Angular routing) and on this website I have a Typeform embedded via an iframe.</p>
  
  <p>Because the page doesn't "reload" when a new page is changed, the Typeform doesn't load the iframe. It needs to be triggered by a page reload, so naturally i added some JS to do this </p>
  
  <pre><code>(function(){
      window.location.reload();
      stop();
  })();
  </code></pre>
  
  <p>However, again much like the form, JS isn't being triggered because the page <strong>isn't</strong> reloading, it's swapping content. I confirmed this by reloading the page and the line above worked.</p>
  
  <p><strong>The question</strong></p>
  
  <p>How on earth am I supposed to reload the page if JS isn't loaded on the page because of the way the page is rendered?</p>