Update download.js

uncomment download function