TwitchTV Project: Possible Timing Issue

Hello,

I have been working my way through the Twitch TV project, but I have hit a snag that I need some help with. My problem seems to be that I am making 2 ajax calls, but the second throws the page all out of order. If I delete the second ajax call, everything goes back to its proper order. Here is a link to my Codepen. Any explanation to what is going on and how to fix it is appreciated.

https://codepen.io/AdamRidesBikes/pen/LdKQGK?editors=1111

Thanks,
Adam