Add js support for jira attachments download