I have decided to try another approach. I have created a Xara document which serves an a test page, project description and version history page.
That also means that for now the github online source library will not be used (for now).

The actual javascript library has a working title "XXExt.js" and resides beside the exported HTML files and is called "XXExt.js". A ZIP file containing everything you need to run it locally can be found here: http://www.netsi.dk/xara/xxext.zip

You can view the alpha version () of the library here:
http://www.netsi.dk/xara/xxext/index.html

If you wish to add some code or have comments you are welcome to send them to me.