tweaking loadJSON examples