Learning AJAX with Reddit's API