Make sure popup.html validates using http://validator.w3.org/ as a valid HTML5 document.