updated to proper JSON; load through XMLHTTPRequest