added demo.js for 1st iteration