what do these warnings mean (im using javascript)

im still new to the animations and scripting for them but im getting a new warning ive never seen before the warnings are
Animator has not been initialized.
UnityEngine.Animator:GetBool(String)
skeleton:Update() (at Assets/skeleton animations/skeleton.js:22)

Animator has not been initialized.
UnityEngine.Animator:SetBool(String, Boolean)
skeleton:Update() (at Assets/skeleton animations/skeleton.js:20)

and here are the lines of script these warnings are talking about

22|if(Skeleton.GetBool(“idle”)==true)

20|Skeleton.SetBool(“idle”, false);

Can you give a bit more detail on your setup,
Do you have an animator for the object you are animating?
Have you created this Boolean in the animator?
I hope I can help if you can give more info,