fixing the kyc js library