added demo.js to allow the demo to work.