window.open regex working, more descriptive name