Added missing script in popup html, styled loading and message panels.