Bulk download js: switch the right AJAX call to POST and check statuses correctly