Scetch of pattern module in js