I went to a greate Microsoft MSDN event last week, and as usual, Russ (www.russtoolshed.com) was excellent. One of the tips that he gave had to do with stepping through Javascript in Visual Studio 2005. I haven't been able to get it to work, but one of the things that had to be done was to include the JS in a separate file, not in the main .aspx page. This piece of code will do the include for you:
<
script type="text/javascript" src="~JobProgress.js"></script>
As always, your comments are welcome.