popup-brow minimal javascript code that showcases opening new browser as popup and handling its closing from original window