Added JS for file download