demo(JavaScript)