Update index.js
Update download.js