upgrade curl.js and uglify.js