Fix download.js (actually works now)