Using ActiveX in native-scripts

Hi all! I using JS with native java script.

When I write a script with a new $ wnd.ActiveXObject in html page (not vaadin), IE shows the security dialog.
When I write a script in Vaadin, this dialog is not shown, and a window in which the components of the script does not show up until not to lower security levels. How to solve this problem if you do not see the window or can not lower the security level IE?