That is pretty darned sweet. I had been playing around with interfacing BiwaScheme (written in JS) to PhoneGap, but if this works as well cross-platform as it does when compiling for the host system, that project just went on the back burner, quite possibly permanently. :-)
Looks outstanding!