some demo for describe javascript design pattern