finish develop of the core.js and fix other lib