I can find nothing on that page that says it will compile to JS. I see a sister project that appears to interpret Processing code in a browser, but nothing about compiling to it.
You enter code using the Processing language, and if you've selected the JavaScript "mode" it will output JavaScript that uses processing.js and canvas.
Prior to 2.0 the modes were "standard" (i.e. Java byte code) and "android" (Dalvik byte code, I presume, since you get an apk file).