var naziv = prompt("Unesite naziv fajla:", "Tekst"); saveTextAs(area.value, naziv + '.txt');