add new function for sync.js, create js to manage project profile