Convert all Ajax calls to use Discourse.ajax()