Add "window.EzSidebar" for debugging
Avoid "sidebar.contentDocument is undefined" error on the initial showing