Sync js and main config files.