To see the debugging output, in Firefox (1.5-2.0 at this time) you have to download and install the excellent Firebug extension.
Once installed, open the debugging console which typically appears as a pane down at the bottom of the browser window.
In IE, simply click the button.
The script and a test script.