title: jQuery: try catch { call function } does not work?
body: <p>I'm having a lot of JavaScript on my page and I'm using typekit. In order to make my page work correctly (grid and stuff) I'm using the new typekit font events. </p>
  
  <p>It's simply a try and catch statement that checks if fonts get loaded or not. However somehow I'm not getting it. I'm calling the <code>setGrid()</code> function if typekit fonts are loaded, but e.g. iPad or iPhone doesn't support that yet and so my page doesn't get properly shown when I don't call the <code>setGrid()</code> function.</p>
  
  <p>Anyway, I want to call the function in the error statement as well, so if the page is called on the iPhone, the page works without webfonts as well.</p>
  
  <pre><code>try {
   Typekit.load({
    loading: function() { },
    active: function() { setGrid(); },
    inactive: function() { }
   })
  } catch(e) {
   alert('error'); //works
   setGrid(); //doesn't get called
  }
  </code></pre>
  
  <p>However, the <code>alert</code> works, the <code>setGrid()</code> function doesn't get called.
  Any ideas?</p>
  
  <p>edit: the function looks like that:</p>
  
  <pre><code>var setGrid = function () {
   $('#header, #footer').fadeIn(500);
   return $("#grid").vgrid({
    easeing: "easeOutQuint",
    time: 800,
    delay: 60
   });
  };
  </code></pre>