Issue with downloading excel file on mac safari, every file has .JS extension