swapped Imgur for reddit api. reworked ajax calls for new api