Updated the server to output JSON, and also respond with the callback parameter that jQuery sets.