add js design patterns dir