Interrupt running code
<p>For example; 
They are my links,     HomePage - Users</p>

<p>When I click homepage load js code. How I can interrupt when click Users this running code and start again.</p>

<p>Thanks for answers.</p>
