8/9 unexpected token else


#1

So I'm stumped. I get the SyntaxError: unexpected token else. I've looked at questions that others have posted that are pretty much the same as mine but, I can't figure out what I'm doing wrong.
Here's my code:

var compare = function(choice1, choice2){ //keep in mind the curly brackets, they're important parts of the inputs, 1a open//
if(choice1 === choice2){ //1b open
return "The result is a tie";
}//1b closed
else if(choice1 ==="rock")
{ //1c open
if(choice2 ==="scissors") {//1d open
return "rock wins";
}//1d closed
else {//1e open//
return "paper wins";
}//1e closed
}//1c closed//
else if(choice1 === "paper") {//2a open//
if(choice2 ==="rock") {//2b open//
return "paper wins";
} //2b closed//
else { //2c open//
return "scissors wins";
} //2c closed//
} //2a closed//
}
else if(choice1 ==="scissors") { //3a open//
if(choice2 ==="rock") { //3b open//
return "rock wins";
} //3b closed//

else { //3c open//
    return "scissors wins";
} //3c closed//

}; //3a closed//
console.log(userChoice);
console.log(computerChoice);


#2

Seems like your 1a is still open