League of Legends API, learn how to decipher cURL code via AJAX and jQuery