Behavioral/Visitor/Javascript: Created Javascript Vistor Pattern Example