core-demo.js added