Hi Sten,
sounds like a very interesting idea.
If you need any particular information on the code generated by Xtreme/WD, I'll be glad to help. I can not provide complete documentation as it would be too time consuming to create one. But I can answer any specific questions.

Also keep in mind - following versions of Xtreme/WD may generate significantly different code (both HTML and JS) so that any solutions may become incompatible.
So don't say I didn't warn you.

Good luck!