Replaced javascript onclicks with html a hrefs