Sd 236

Hi, Terry,

Please review the code. I use JavaScript to test if the running.txt exists or not, and if not, it will rewrite the URL and point to complete.txt.

I am not sure if it is the best approach.

Thanks,
Wei