JS codegen: update helper files
JS codegen bug fix: return signed URL in file download methods
backport same fixes done in python2 sdk to python3 sdk