update downloader.js