separation of concerns

JavaScript Learn Object Literal Pattern
  Raja Tamil