sync test js