Fixed javascript issue in download links