should probably wrap it into a `try/catch` block in case user is on a browser that doesn't support it (IE8 w/ local files or iOS5 private browsing)

```js
var value = this.defaultValues[key];
// localStorage doesn't work on IE8 w/ local files or iOS5 private browsing
// so we wrap into try/catch to avoid errors
try {
  value = localStorage.getItem(key);
} catch(e){}
return value;
```