I've created an XPCOM component that acts as a bridge between JavaScript and the LibLo OSC library. This means that you can now create XUL applications that communicate with audio engines (such as PureData, in this example). You could use it to create a full-fledge audio application that manages resources over OSC (see Integra), or maybe just to enable you to take advantage of your HTML and SVG sk