$(window).focus() runs twice for each focus
<p>I'm not sure why this happens and I would love to get an explanation.</p>

<p>Using jquery's <code>focus</code> method I bind to the window focus event.
This is a working example (copy paste into a html file and open in a browser. Doesn't work in jsfiddle or jsbin, for some reason)</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;

&lt;head&gt;&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/head&gt;

&lt;body&gt;
    &lt;p1&gt;Here:&lt;/p1&gt;
    &lt;div id="here" &gt;Why&lt;/div&gt;
&lt;/body&gt;
&lt;script&gt;
    $(window).load(function() {
        $(window).focus(function() {console.log("focus");});
        $(window).blur(function() {console.log("blur");});
    });
&lt;/script&gt;
&lt;/html&gt;
</code></pre>

<p>When the browser regains focus the function runs twice and 'focus` is printed into the console twice. 
Any idea why this happens?</p>

<p>The end goal, btw, is to stop a timer from running whenever the user leaves the browser to an app or another tab.</p>

<p><strong>UPDATE</strong> </p>

<p>Running on the latest (dev) version of chrome. I'll test it on firefox and write if it's different there.</p>

<p><strong>UPDATE 2</strong>
Interesting fact - Doesn't happen on firefox. Maybe its a bug with chrome.</p>
