Javascript Unit of Work container for service oriented architecture (OData, WebApi..)