in reply to Mechanize Javascript workaround?

I usually use the Mozilla HTTP Live Headers extension to find what values actually go over the wire and then replicate that using WWW::Mechanize.

If that becomes too tedious and you have Firefox available, you could use WWW::Mechanize::Firefox, which automates Firefox to implement Javascript with a WWW::Mechanize compatible API.