add js lesson with pattern