index1.html & index1.js  were used for demo