Twitch.tv Status Viewer

It took me quite a while to complete this because of a few issues:

  1. Before using $.when I’ve had issues with the AJAX calls returning undefined. For some reason it took me longer than expected to understand how to do this correctly. For clarity’s sake, I still don’t understand promises.
  2. I’ve had problems with the html string not re-setting within the loop. I’ve managed to fix it and somewhat understand the problem but have no understanding of the behavior. (Before, var html = ""; was inside the FOR loop and was causing issues)

Project is here. Feedback is very welcome!