make localstorage work in both web/node without DI
Merge branch 'master' of github.com:Floobits/flux