I would like to use javascript to develop general-purpose GUI applications. Initially these are to run on Windows, but I would like them to ultimately be cross-platform.
Try AIR, you can even use your JS toolkit of choice
Using it with dojo look at this: http://dojocampus.org/content/2008/04/02/dojo-on-air-a-fancy-file-uploader/