I'm not sure what the options are for testing javascript-enabled sites. Maybe Selenium? http://www.openqa.org/selenium/