use run-loop aware ajax helper in all the places