add localStorage
Merge branch 'master' into gh-pages