Add error handling to getJSON call
fixed external links, some margins