Split client side widget registry into model and view registries