Read contents of a file using Javascript and reverse-engineered copy of Java applet ReadURL

See http://www.javascripter.net/faq/reading2.htm. I wanted to use the technique described in a small project of my own. Somewhat irritatingly, I found that while the file ReadURL.class was provided, the source file was not, so I: