swap core2.js for core_demo.js