getJSON retrieval issues

Hey guys! Can you take a quick look at why I cannot retrieve json from my getLocation function? Do I need to use another api? I added an insanity check with my getJoke() function and it works, which follows the same syntax as getLocation, but getLocation doesn’t do anything. Is it just me or what could possibly be going on? Thanks. btw: it seems getJoke only works on an http connection!