threw together a mock_attachment.js