Update download.js

window -> this