mechanize javascript in your catalyst apps