One suggested fix for window.open