add useing js to download txt