move downloads.js to download.js