trying a fix to popup JS for IE support