Vasyl:
That because the HtmlInitialize() function be called twice.
you can try to fix it by this way , put the script after </body> :
<script>
var old_HtmlInitialize=HtmlInitialize;
HtmlInitialize=function()
{
try{ old_HtmlInitialize() }catch(x){}
}
</script>
Regards , Terry .