add demo.js file