More polished UI for attachments generated in index.html (JS/CSS/HTML). Also trim long lines.