JavaScript is nice for web browsers, but is useless for any other type of application. I wrote a draft specification for an XML namespace and method of imlementation. http://1337ware.kicks-ass.net/dev/articles/ns-magnet.html If you know anything about xml and web services feel free to take a look. While JavaScript has all the advantages and disadvantages of DHTML, the draft xml namespace can let you use XHTML to place into a web page. XML can also be displayed directly in modern web browsers using XSL.
I hope you like it and I'm waiting for some briliant comments.