[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
[embedlite-components] Sync with upstream. Merge remote-tracking branch 'origin/master'