|more useful options|
|on Apr 21, 2013 at 22:04 UTC||Need Help??|
It depends a lot on the nature of your JS.
you can write testsuites in JS to check the integrity and you can catch errors to generate automatic reports in error cases.
If it's a DHTML application you will need to automate a browser using selenium or imacros.
You can also send isolated JS-snippets from perl to the browser with mozrepl or WWW::Mechanize::Firefox.
As I said, it depends!
( addicted to the Perl Programming Language)