move scripts to core.js