updated demo html
updated demo js
latest changes