title: atomic operation on window.localStorage
body: <p>Is this possible to do when setting 2 or more values? I am using phonegap and concerned that the user could kill the app while before it finishes setting both values.</p>
  
  <p>I realize that I could use W3C web sql with a transaction but didn't want the overkill of sql for what I am doing.</p>