A couple problems ... in some places you are using what look likes jQuery syntax, but jQuery is nowhere to be found. With calling in jQuery and modifying a few things to make use of it ... you should be good.
Also, there was an extra parameter being passed in your .to calls ... I stripped that out.
.to( target:Object, duration:Number, vars:Object, position:* ) : *
You were passing .to( target, duration, vars, position, somethingElse)