add: performActionOnJunkMsgs(); 
context: function analyzeMessages(messages){    function processNext()    {        if (counter < messages.length) {            var messageUri = messages[counter];            var message = messenger.messageServiceFromURI(messageUri).messageURIToMsgHdr(messageUri);            ++counter;            analyze(message, processNext);        }        else {            dump('[bayesian filter message analysis complete.]\n');            gJunkmailComponent.endBatch();        }    }    getJunkmailComponent();    var counter = 0;    gJunkmailComponent.startBatch();    dump('[bayesian filter message analysis begins.]\n');    processNext();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/14acd7b8a15a6579fbf50a8ce256ef0e22e9dabe/mailCommands.js/buggy/mailnews/base/resources/content/mailCommands.js