Updated JS to make sure all downloads are in one array key