Testing my knowledge of AJAX and JSON