Reading notes of pro Javascript design patterns