(#2497) - fix attachments in Chrome and IE

Yes, this is really what we have to do to get it to pass in IE. I'm sorry.
`0 !== void 0`, but yeah, the `void 0` stuff is not the style of this lib, so I'll change it everywhere.