adding a web demo
updated the way elements are created