Simple and elegant JavaScript dependency management by making use of the factory pattern.