If I were to look at some Open Source projects because I wanted to know how quality JavaScript or Ruby looks like, where would I look? Which ones do you know?
One for Javascript: https://github.com/reactjs/redux
It takes just a few minutes to read the whole source code.
Given the popularity it may be interesting to spend a few minutes on it.