resolved popup.html loading problem