Problem with loadJSONArray example

How would that be done?