rem: var era = boxScoreStatColumn[7].innerHTML * 9 / boxScoreStatColumn[3].innerHTML; 
add: var era = boxScoreStatColumn[9].innerHTML * 9 / boxScoreStatColumn[3].innerHTML; 
context:     function processBoxscore(html, playerId, playerType) {        var div = document.getElementById(HIDDEN_DIV_ID);        if (!div) {            div = document.createElement("div");            document.body.appendChild(div);            div.id = HIDDEN_DIV_ID;            div.style.display = 'none';        }        div.innerHTML = html;        var nodes = xpath(document, "//tr[contains(@class,'ysprow')]/td/a[contains(@href,'" + playerId + "')]");        var i = nodes.snapshotLength;        var stats = null;        if (!i) {            return stats;        } else {            stats = new Object();            var boxScoreStatColumn = nodes.snapshotItem(i - 1).parentNode.parentNode.childNodes;            if (playerType == BATTER) {                var playerName = nodes.snapshotItem(i - 1).text.replace('.', '');                stats.HR = getHRorSB('HR', playerName, document);                stats.SB = getHRorSB('SB', playerName, document);                stats.HPAB = boxScoreStatColumn[7].innerHTML + '/' + boxScoreStatColumn[3].innerHTML;                stats.R = boxScoreStatColumn[5].innerHTML;                stats.RBI = boxScoreStatColumn[9].innerHTML;                if (boxScoreStatColumn[3].innerHTML * 1 > 0) {                    var avg = (boxScoreStatColumn[7].innerHTML * 1 / boxScoreStatColumn[3].innerHTML * 1).toFixed(3);                    stats.AVG = (new String(avg).charAt(0) != '1') ? (avg.substring(1, avg.length)) : avg;                } else {                    stats.AVG = '-';                }            } else if (playerType == PITCHER) {                // IP                stats.IP = boxScoreStatColumn[3].innerHTML;                // W                var pitcherName = new String(boxScoreStatColumn[1].innerHTML);                stats.W = (pitcherName.indexOf("(W") > -1) ? '1' : '-';                // S                stats.S = (pitcherName.indexOf("(S") > -1) ? '1' : '-';                // K                stats.K = boxScoreStatColumn[13].innerHTML;                //ERA                var era = boxScoreStatColumn[7].innerHTML * 9 / boxScoreStatColumn[3].innerHTML;                stats.ERA = era.toFixed(2);                //whip                var whip = (boxScoreStatColumn[5].innerHTML * 1 + boxScoreStatColumn[11].innerHTML * 1) / boxScoreStatColumn[3].innerHTML;                stats.WHIP = whip.toFixed(2);            }            return stats;        }    }
meta: 7151	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7151/35c53d73a0bf38c8baac15491db627abbae65c51/baseball.user.js/clean/baseball.user.js