Alter js links to <a> tags