My favorite JavaScript design patterns