For anyone who ends up here on the same quest that brought me, the easiest way (by a long shot) I found to figure out what the JS was doing was the Live HTTP Headers plugin for Firefox.
Use it, and with luck, your search might be just about over.
Comment on Re^2: crawling past a javascript submit function