switch to .ajax instead of .getJSON