fixed a syntax problem in download.js

fixed a syntax problem in download.js.