Review round #2: removed encodeURI from Utils.imageURLtoDataURL, added few clarifying comments, AttachmentRenderer.createAttachmentContainer is now "private" + updated related unit tests.