Added download option when resource is set to open in PDF JS Viewer