Adding dynamically adding links with js