title: Browser doesn't execute javascript when I move back
body: <p>I have a script that toggles checkbox when page is loaded (by default it's unchecked).</p>
  
  <p>Example:</p>
  
  <pre><code>if (bla bla bla) {
      $('#test').trigger('click');
  }
  </code></pre>
  
  <p>It works as expected, but if I go forward to the next page and then go back again (or restore closed tab with that page), this doesn't work: the checkbox remains unchecked. I guess in this case browser doesn't execute js.</p>
  
  <p>Is there any solution to resolve this issue? Thanks.</p>