Hi, why does this not work?

<script>
var link = "${outFile}";
</script>

<div id="footer">
<a id="csvLink" href="">Download .csv file</a>
</div>