Lab task with jQuery and AJAX