Extracted get_download_count.js.