changed AJAX: XMLHttpRequest to high-level slide on requests and responses