title: Using the window object for session storage instead of AmplifyJS store
body: <p>I'm using AmplifyJS Store. I think it's a good wrapper for persistent storage. I've been using it in a JQuery plugin and it works pretty well.</p>
  
  <p>Lately though, I've been wondering if I can just do the same thing using a namespace variable in the <code>window</code> object?!</p>
  
  <p>AmplifyJS Store + JSON2.js (required for data serialization) costs me 22Kb (8Kb minified) of file size alone, not to mention the additional supporting code I've had to create around it. Also, I'm using only sessionStorage (i.e. I have no need for persistence after the browser window closes, only while the window is active).  </p>
  
  <p>So, is there really any major reason I can't use the <code>window</code> object instead of AmplifyJS Store for my specific circumstance?! I've thought about the <code>expiry</code> feature but I can easily build in same functionality in a few lines of code.</p>
  
  <p>Thanks.</p>