Menu Script Doesn't work!

so, here is my menu script-

var isQuit=false;

function OnMouseEnter(){
	renderer.material.color=Color.red;

}

function OnMouseExit(){
	renderer.material.color=Color.white;

}

function OnMouseUp(){
	if(isQuit==true)
		Application.Quit();


	}
	else{
		
	Application.LoadLevel(1);
	}

}

Why Does It Say "! Assets/Menu.js 20,9: expecting EOF, found ‘else’

usually this should work and i’ve checked it and i cant find any errors from what I can see.

You have a dangling } on 16 - as it’s written now, that squiggly closes the OnMouseUp function which means the other code is not inside a function; add an opening { on 12 after the if(condition)