Dontpush Ozonelayer - Embedded inside a <div>

Hi,

I am trying to embed a Vaadin application which uses the Dontpush Ozonelayer addon into a

. Bascially, I am combining
Jquery_Integrated application
(https://gist.github.com/dhavaln/2b9848463355e7ae7d70) and
Dontpush Ozonelayer Demo
(http://code.google.com/p/dontpush/wiki/DontpushOzoneLayerAddOn) to be embedded in a
(using the instructions from the Book of Vaadin).

I am getting some strange results.
If i
first
go to my web address e.g. http://webaddress.com/webcontext/[b]
index.html
[/b] then I get the ‘Oops’ error screen.
But if I
next
go to the wedaddress e.g. http://webaddress.com/webcontext/[b]
vaadin/index.html
[/b] then my Vaadin app runs correctly.
And if I
then go
to the first web address I tried e.g. http://webaddress.com/webcontext/[b]
index.html
[/b] then my Vaadin app runs correctly.

I believe there might be a problem where Dontpush Ozonelayer is looking for the websocket ‘/UDL’ relative to the webaddress. So, if the Vaadin app is embedded in a webcontext (webpage) not the context where the Dontpush servlet is mapped to then it gets problems. I could be wrong. Or it could be something about the caching of the Dontpush widgetset.

Maybe there are people out there that already got it to work as an embedded application on a html page.
Any help will be appreciated,

David