Create attachments couchapp