changed some double to single quotes in attachment.js