Currently, it's using ajax.php, some really old code. We should update this to use the newly created (MDL-64588) web services:
- get_comments(perhaps not new)
- add_comments
- delete_comments
This will likely involve allowing these to be ajax callable in the service definition.