clean up download.js from old things
Make batch-download work again and also make it smarter by avoiding doing work that has already been done YAY