updating download.js