Javascript exmples of the SOLID principles.