>fix -main config.js -bug

bug:if(config===undefined)throw error
now:if(config===undefined)process normally