Insert scripts into an existing function?
<p>This function is built into the page and I cannot modify the original .js file:</p>

<pre><code>cool.lol = function () {

    // contents here

}
</code></pre>

<p>Is there a way for me to append this function with some of my own scripts?</p>

<p>Like this:</p>

<pre><code>cool.lol = function () {

    // contents here

    // i would like to add my own stuff here!!!
}
</code></pre>

<p>Or is there a way for me to detect that the function has been executed so I can run something after it?</p>
