replace core2.js with core_demo.js