A cqrs implementation for the browser