Quick fix to download, halfway to supprting safari