3 java errors on a basic shooting script?

I'll start off by saying this: I KNOW NO JAVA SCRIPT. I'm working from this tutorial: http://www.youtube.com/watch?annotation_id=annotation_934937&v=wfpZ7_aFoko&feature=iv[Linky][1] and it calls for a basic script. but as the tittle say, i get three errors on said script. Here's the script:

var speed = 3.0;
var rotateSpeed = 3.0;
var bullitPrefab: Transform;

function Update ()
{
    var controller : CharacterController = GetComponent(CharacterController);

    transform.Rotate(0, Input.GetAxis ("Horizontal") * rotateSpeed, 0);

    var forward = transform.TransformDirection(Vector3.forward);

    var curSpeed = speed * Input.GetAxis ("Vertical");

    controller.SimpleMove(forward * curSpeed);

    if (Input. GetButtonDown("Jump"));
    {
        var bullit = Instantiate(bullitPrefab,
            GameObject.Find("Fire Spawn").transform.position, Quaternion.identity);
    }
}

@script RequireComponent(CharacterController);

Here are the errors:

Assets/Move Around.js(16,33): BCE0043: Unexpected token: var.

Assets/Move Around.js(16,36): UCE0001: ';' expected. Insert a semicolon at the end.

Assets/Move Around.js(21,9): BCE0044: expecting EOF, found '}'.

the first two seemed strait forward enough, but i tried the obviouse and it didn't seem to work (but again, i don't know java).

Thanks!

Remove the semi-colon after both:

if (Input. GetButtonDown("Jump"));

and

@script RequireComponent(CharacterController);

14 if (Input. GetButtonDown("Jump"));

shouldn't have a semicolon after that. what it should look like

if (Input. GetButtonDown("Jump"))
{
//blahblah
}