Add local storage support
Merge pull request #2 from penk/localstorage

Add local storage support