Corrected download dialogue

Corrected JQuery download dialogue so that it exits when user enters 'n'
and prompts for re-entry when user enters an invalid option.