loading links from external json, but not correctly bound to DOM