An equipment equipping function for HTML text based game

Im trying to make an 'equip' function. Where once my main variable "onHand" and later on "offHand" are given a value from the loot array, the base damage variable will change. When i first added the if statement for "empty" and "rusty iron dagger", it was going fine. Until Editey (Software) started to say on line 162 "too many errors (81% scanned)", and now my code won't run. I may read over it, but i bet im missing something (Otherwise it'd be hopefully working!). If there is a problem OR an EASIER way to make this code cleaner im all ears!

JavaScript:

var loot = [ 'rusty iron dagger', 'rusty iron claymore', 'rusty iron 
axe', 'rusty iron hammer', 'rusty iron spear', 'rusty iron warhammer', 
'rusty iron waraxe', 'rusty iron short sword', 'rusty iron long sword', 
'rusty iron helmet', 'rusty iron breast-plate', 'rusty iron greaves', 
'rusty iron left pauldron', 'rusty iron right pauldron'];
// x = 14;
var onHandOut = 0;
var offHandOut = 0;
var onHand = "empty"; // right hand
var offHand = "empty"; // left hand
var damage = 0;
// when you equip a weapon, base damage is set -------------------


function equip() {
onHand = loot[1];

    if (onHand === "empty") {
        alert("Empty");
        onHandOut = 0.65;
        damage = onHandOut;

    } else if (onHand === "rusty iron dagger") {
        onHandOut = 1.25;
        damage = onHandOut;
        alert("Dagger equiped, Damage = " + onHandOut);

    } else if (onHand === "rusty iron claymore") {
        onHandOut = 2.25;
        damage = onHandOut;
        alert("claymore equiped, Damage = " + onHandOut);

    } else if (onHand === "rusty iron axe") {
        onHandOut = 1.25;
        damage = onHandOut;
        alert("axe equiped, Damage = " + onHandOut);

    } else if (onHand === "rusty iron hammer") {
        onHandOut = 1.5;
        damage = onHandOut;
        alert("hammer equiped, Damage = " + onHandOut);

    } else if (onHand === "rusty iron spear") {
        onHandOut = 1.75;
        damage = onHandOut;
        alert("spear equiped, Damage = " + onHandOut);

    } else if (onHand === "rusty iron warhammer") {
        onHandOut = 2.5;
        damage = onHandOut;
        alert("warhammer equiped, Damage = " + onHandOut);

    } else if (onHand === "rusty iron waraxe") {
        onHandOut = 2.25;
        damage = onHandOut;
        alert("waraxe equiped, Damage = " + onHandOut);

    } else if (onhand === "rusty iron short sword") {
        onHandOut = 2.25;
        damage = onHandOut;
        alert("short sword equiped, Damage = " + onHandOut);

    } else if (onHand ==== "rusty iron long sword") {
        onHandOut = 2.5;
        damage = onHandOut;
        alert("long sword equiped, Damage = " + onHandOut);

    } else if (onhand === "empty") {
        onHandOut = 0.625;
        damage = onHandOut;
        alert("no weapon equiped, Damage = " + onHandOut);

    } else {
        // Do nothing!
    }    

}

Also i will note I'm also using the JQuery Library.