AniMate BOO script work with JavaScript?

I am a fairly inadequate coder trying to do some quick and simple animations. I found AniMate and tried to use it but I am not sure I am using it correctly…The manual makes it seem like it is mainly meant to be used in Javascript as such i created the following quick attempt in a javascript file

function Update () {

}

function AnimationCoroutine() {
 while true {
   yield Ani.Mate.To(transform, 5, {"position":
  new Vector3(24,10,17), "easing" : Ani.Easing.Quadratic});
   yield Ani.Mate.To(transform, 2, {"position":
  new Vector3(29,5,17), "easing" : Ani.Easing.Quadratic});
}

i get parse errors. can anyone tell em why i am getting these errors? am i supposed to import the boo script into other scripts?

Thanks for any help!
Dominatro

Maybe this is what you need: http://docs.unity3d.com/Documentation/ScriptReference/index.Script_compilation_28Advanced29.html

–Eric

thx for the quick reply, this however is not the problem since my scripts are already set up in a way that should work. The script mentioned above is merely in assets, no particular folder and the ani.boo is in standard assets as mentioned in the manual