added window.open() example