Fix file download link in js when rename file