Using JQuery's ajax-implementation instead of raw XMLHttpRequest