added support for localstorage
Merge pull request #15 from colkito/feature/localstorage-support

added support for localstorage