Please help, syntax error woe

Please help>…

Assets/2D Mario Assets/Scripts/playerControls.js(46,1): BCE0044: expecting }, found ''.
Assets/2D Mario Assets/Scripts/playerControls.js(33,9): BCE0043: Unexpected token: }.

My code is:

var speed : float = 6.0;
var jumpSpeed : float = 8.0;
var gravity : float = 20.0;
var TransformDirection; 

private var moveDirection : Vector3 = Vector3.zero;

function Update ()
{
    var controller : CharacterController = GetComponent( CharacterController );
    
    if ( controller.isGrounded )
    {
        moveDirection = Vector3 ( Input.GetAxis ( "Horizontal" ), 0, 0 );
        moveDirection = transform.TransformDirection(moveDirection);
        moveDirection *= speed;
        
        if ( Input.GetButton ( "Jump" ) )
        {
            moveDirection.y = jumpSpeed + 1;
        }
        if ( Input.GetButtonDown ( "jump" ) + Input.GetButtonDown ( "Fire1" ))
    }
    
    else
    {
        moveDirection.x = Input.GetAxis ( "Horizontal" );
        moveDirection.x *= speed;
    }
    
    
    moveDirection.y -= gravity * Time.deltaTime;
    controller.Move ( moveDirection * Time.deltaTime );

}

this line:

if ( Input.GetButtonDown ( "jump" ) + Input.GetButtonDown ( "Fire1" ))

is incomplete you can do:

if ( Input.GetButtonDown ( "jump" ) + Input.GetButtonDown ( "Fire1" )) {}

or just delete.

Your if statement with no braces

if ( Input.GetButtonDown ( "jump" ) + Input.GetButtonDown ( "Fire1" ))

Its not really doing anything. Put {} after it.

Also, I dont understand why you declare

var TransformDirection;

Leave it out, its a function of Transform so already has a definition.