title: Backbone localstorage: Cannot read property 'Deferred' of undefined
body: <p>I am trying to make a backbone application work with the localstorage plugin. I included the library after the backbone library.</p>
  
  <p>I added the following line to my collection:</p>
  
  <pre><code>window.ProductCollection = Backbone.Collection.extend({
      model:Product,
      localStorage: new Backbone.LocalStorage("ProductCollection")
  });
  </code></pre>
  
  <p>I keep getting the following error from backbone.localstorage.js:
  <em>Cannot read property 'Deferred' of undefined</em> </p>
  
  <p>Is there anything i forgot to do in the implementation of the library? <a href="http://documentup.com/jeromegn/backbone.localStorage" rel="nofollow" title="Documentation">Documentation</a> says you only need to add the localstorage to your collection.</p>
  
  <p><a href="http://jsfiddle.net/4uDGb/" rel="nofollow">http://jsfiddle.net/4uDGb/</a></p>