Fix lint error in syncmanager.js