Pure JS key value store