Added JS for when the Add Selected Downloads button is clicked