window.open uses Ajax if possible