TwichTv Project Feedback

I just recently completed this Project, and to be honest it was much harder than I expected it to be.
I tried to make it as functional as I could, by putting everything into a function and avoiding global variables as much as possible. Since this was my first time attempting to do so, I feel that my code is very “hacky”.

I am looking for feedback and advise on how I can modularise my code more to make it resuable in the future.

Here is the project link

On the plus-side, I learnt a lot about how JavaScript handles asynchronous code, and I got better at using jQuery.

Great Job! Looks good and easy to follow.