Complex sentence: In this way, the returned resource is still legal Javascript, but because the anonymous JSON object is wrapped in a function call, the browser's Javascript environment can "do something" with the returned data.
Split into simpler sentences: In this way, the returned resource is still legal Javascript, containing an anonymous data declaration, but this object is wrapped in a function call. Therefore the browser's Javascript environment can "do something" with the returned data.