Remove conditional window.focus()