[embedlite-components] Guard window.open and window.close handlers
Merge pull request #45 from rainemak/upstreamMaster

[embedlite-components] Guard window.open and window.close handlers