add cordova param support
finish develop of the core.js and fix other lib