Store attachment's data in AttchmentViewer.prototype.data