remove an unused var in attachment.js