js-design-patterns: fixing typos