sync all will sync all the missing packages from official registry

support jsonp,so other website can get the registry info in frontend
refector sync/sync_all.js
sync all the missing packages from official registry