JS Immutable datastore/pattern.