Fix #1408 JS performance selector issue
Merge pull request #551 from nlegoff/fix_download

[3.8] Fix #1408 download issue with large amount of collections