Enable and Disabling a JavaScript code
<p>I have a JavaScript code and what I would like to do with it is to enable and disable the JavaScript code with a button.</p>

<p>So when I press the button the JavaScript code is enable, then press it again and it is disabled.</p>

<p>I don't want to Enable / Disable JavaScript itself. But just the code inbetween <code>&lt;script&gt;&lt;/script&gt;</code></p>

<p>It would be controlled by a bool so, true / false.</p>

<p>I hope you can understand what I am trying to say. :P</p>
