applying docs design to js-design-patterns page