JS: Factory Base Setup