Made downloads.js listen for GET requests (instead of being middleware)