Update download.js

add json back in