This is a technical question about the way SO implements a feature.
Why does SO use JS to direct the user to the question page if they click on the votes/number/views on the question list on the homepage? Is there an advantage to this other than cleaner HTML?
<div onclick="javascript:window.location.href='/questions/[question location]'" style="cursor:pointer">
<div class="votes">
<div class="mini-counts">0</div>
<div>votes</div>
</div>
<div class="status unanswered">
<div class="mini-counts">0</div>
<div>answers</div>
</div>
<div class="views">
<div class="mini-counts">0</div>
<div>views</div>
</div>
</div>