I regularly debug JavaScript that has been added to a text area. A useful tool is the ability to add '//# sourceURL=xxxxx' at the end of the script so that the browser debug tools can show the script in the sources tab. It would be great if Spotfire automatically added this to all scripts, using the script name as the URL - it would save me having to remember the syntax every time I want to debug someone's script...