localStorage api
wip: linting