The issue I am having is when I try to do something like the below code, the window will be blocked by pop-up blockers. I am using getScript so that I can make cross domain
Simply don't work with popup, use something like Lightbox instead.