progress for files upload
global refactor javascript upload/download files