In these days I'm starting to work with Dojo framework, a language-independent AJAX client (one of the most famous). It is open source. See here:
Since it is language independent, it means it can be used even from newLisp...
So I think you could start to introduce such framework (or another one) instead producing pure html.
Dojo works in xml and json (and newLisp can do that very well).
I think in this way to could give a BIG improvement to your framework (and a lot of work is done, since Dojo is stable and really well done!).