fix for issue 10:

if you have a empty key in local or session storage the load breaks
completely
Merge pull request #12 from jcompagner/master

Fix #10