Download file implemented for js-sdk
Updates for submission downloads
Fix for ticket #6678