Sync before editing JS files