javascripts move to main.js
add demo page