Refactor main functionality out of $.getJSON call; remove check for 'latlong' field
Remove error check for 'latlong' field
Set up testing framework