User friendly abstration of ajax-queries